package com.swyc.osschat.Test.designMode.adapter.impl;

import com.swyc.osschat.Test.designMode.adapter.base.TfCard;

/**
 * @description 适配者类(Tf):
 * @Author: z156940l@outlook.com
 * @className TfCardImpl
 * @Date: 2022/7/25 17:40
 */
public class TfCardImpl implements TfCard {
    @Override
    public String readTfCard() {
        return "我是Tf卡中的数据";
    }

    @Override
    public void writeTfData(String data) {
        System.out.println("往Tf卡中写入了数据："+data);
    }
}
